package lab02.test35;

/**
 * Created by lenovo on 2017/11/21.
 */
public abstract class Employee {
    //属性 姓名、年龄、工龄、获得工资
    String name;
    int age;
    String seniority;
    String getpay;
    //行为：计算所有雇员的工资
    private String workname;
    public Employee (String workname) {this.workname=workname;}
    public String getName() {return workname;}

    public abstract double computeSalary( );
}
